function hero()
{
    var herowidth=400;//改为你要的网页宽度
    var heroheight=300;//改为你要的网页高度
    window.resizeTo(herowidth,heroheight);
}
hero();


function numAdd1() {
    var num1 = document.getElementById('addtext1');
    num1.innerHTML++;
    //document.cookie=num.value;
}

function numRed1() {
    var num1 = document.getElementById('addtext1');
    num1.innerHTML--;
    //document.cookie=num.value;
}




function numAdd2() {
    var num2 = document.getElementById('addtext2');
    num2.innerHTML++;
    //document.cookie=num.value;
}

function numRed2() {
    var num2 = document.getElementById('addtext2');
    num2.innerHTML--;
    //document.cookie=num.value;
}




function numAdd3() {
    var num3 = document.getElementById('addtext3');
    num3.innerHTML++;
    //document.cookie=num.value;
}

function numRed3() {
    var num3 = document.getElementById('addtext3');
    num3.innerHTML--;
    //document.cookie=num.value;
}


function numAdd4() {
    var num4 = document.getElementById('addtext4');
    num4.innerHTML++;
    //document.cookie=num.value;
}

function numRed4() {
    var num4 = document.getElementById('addtext4');
    num4.innerHTML--;
    //document.cookie=num.value;
}


function numAdd5() {
    var num5 = document.getElementById('addtext5');
    num5.innerHTML++;
    //document.cookie=num.value;
}

function numRed5() {
    var num5 = document.getElementById('addtext5');
    num5.innerHTML--;
    //document.cookie=num.value;
}


function numAdd6() {
    var num6 = document.getElementById('addtext6');
    num6.innerHTML++;
    //document.cookie=num.value;
}

function numRed6() {
    var num6 = document.getElementById('addtext6');
    num6.innerHTML--;
    //document.cookie=num.value;
}


function numAdd7() {
    var num7 = document.getElementById('addtext7');
    num7.innerHTML++;
    //document.cookie=num.value;
}

function numRed7() {
    var num7 = document.getElementById('addtext7');
    num7.innerHTML--;
    //document.cookie=num.value;
}


function numAdd8() {
    var num8 = document.getElementById('addtext8');
    num8.innerHTML++;
    //document.cookie=num.value;
}

function numRed8() {
    var num8 = document.getElementById('addtext8');
    num8.innerHTML--;
    //document.cookie=num.value;
}




function numAdd9() {
    var num9 = document.getElementById('addtext9');
    num9.innerHTML++;
    //document.cookie=num.value;
}

function numRed9() {
    var num9 = document.getElementById('addtext9');
    num9.innerHTML--;
    //document.cookie=num.value;
}



function numAdd10() {
    var num10 = document.getElementById('addtext10');
    num10.innerHTML++;
    //document.cookie=num.value;
}

function numRed10() {
    var num10 = document.getElementById('addtext10');
    num10.innerHTML--;
    //document.cookie=num.value;
}



function numAdd11() {
    var num11 = document.getElementById('addtext11');
    num11.innerHTML++;
    //document.cookie=num.value;
}

function numRed11() {
    var num11 = document.getElementById('addtext11');
    num11.innerHTML--;
    //document.cookie=num.value;
}



function numAdd12() {
    var num12 = document.getElementById('addtext12');
    num12.innerHTML++;
    //document.cookie=num.value;
}

function numRed12() {
    var num12 = document.getElementById('addtext12');
    num12.innerHTML--;
    //document.cookie=num.value;
}